/**
  ******************************************************************************
  * @file           : usart_bsp.h
  * @author         : Tessia
  * @brief          : None
  * @attention      : None
  * @date           : 2024/3/12
  ******************************************************************************
  */



#ifndef SENTRY_CHASSIS_USART_BSP_H
#define SENTRY_CHASSIS_USART_BSP_H

#include "cmsis_os.h"
#include "usart.h"
#include "communicate_task.h"


void usart_dma_send(usart_param_struct *usart_param, const uint8_t *pData, uint32_t _size);

#ifdef __cplusplus
extern "C" {
#endif
//C
void HAL_UARTEx_RxEventCallback(UART_HandleTypeDef *huart, uint16_t Size);
#ifdef __cplusplus
}
#endif
//C++

#endif //SENTRY_CHASSIS_USART_BSP_H
